<!--
 * @Description: 
 * @Author: wanggang
 * @Date: 2019-12-19 15:00:07
 -->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <script src="../tween.js缓动算法/animation.js"></script>
    <script src="../tween.js缓动算法/Tween.js"></script>
</head>
<body>
    
</body>
<script>

Math.animation(0, 30, function (value) {
    console.log(value);
}, 'Quart.easeOut', 6000);
</script>
</html>